package com.work.example.demo5.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.work.example.demo5.Mapper.AuthorMapper;
import com.work.example.demo5.domain.AuthorEntity;
import com.work.example.demo5.service.AuthorService;
import org.springframework.stereotype.Service;

@Service
public class AuthorServiceImpl extends ServiceImpl<AuthorMapper, AuthorEntity> implements AuthorService {
    @Override
    public int getauthorId(String name) {
        return baseMapper.getauthorId(name);
    }
}
